﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Visual/Template/formulario.master" AutoEventWireup="true" CodeFile="sendmessage.aspx.cs" Inherits="Visual_Messages_sendmessage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
 <link href="../../Styles/interfacemetro/css/modern-responsive.css" rel="stylesheet"
        type="text/css" />
    <link href="../../Styles/interfacemetro/css/modern.css" rel="stylesheet" type="text/css" />
    <link href="../../../Styles/menustyles.css" rel="stylesheet" type="text/css"/>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="botoes" Runat="Server">
<br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <asp:ImageButton ID="btgoback" runat="server" 
        ImageUrl="~/Visual/Imagens/botoes/btgobackinbox.png" 
        onclick="btgo_Click" />
    <br />
    <asp:ImageButton ID="btyes" runat="server" 
        ImageUrl="~/Visual/Imagens/botoes/btyesthismessage.png" onclick="btyes_Click" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="header" Runat="Server">
  <h1>
        Send Message</h1>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ConteudoDinamico" Runat="Server">
 <asp:Label ID="Label3" runat="server"  Text="To User:"></asp:Label><br />
                <div class="input-control text">
                    <asp:DropDownList ID="ddtouser" runat="server" DataSourceID="ObjectDataSource1" 
                        DataTextField="name" DataValueField="id" Width="300px">
                    </asp:DropDownList>
                    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                        SelectMethod="select" TypeName="VSDBM.Code.dao.UserDAO">
                        <SelectParameters>
                            <asp:Parameter DefaultValue="true" Name="campname" Type="Boolean" />
                            <asp:Parameter Name="filters" Type="String" />
                            <asp:Parameter DefaultValue=" ORDER BY name ASC" Name="orderby" Type="String" />
                        </SelectParameters>
                    </asp:ObjectDataSource>
                    <br />
                </div>
    <asp:Label ID="Label1" runat="server" Text="Title:"></asp:Label><br />
    <div class="input-control text">
        <asp:TextBox ID="tbtitle" runat="server" Width="300px"></asp:TextBox><br />
    </div>
    <asp:Label ID="Label2" runat="server" Text="Message:"></asp:Label><br />
    <div class="input-control text">
        <asp:TextBox ID="tbmessage" runat="server" Width="400px" Height="200px" 
            TextMode="MultiLine"></asp:TextBox>
        <br />
        <br />
        <asp:Label ID="lberro" runat="server"></asp:Label>
        <br />
    </div>
</asp:Content>

